package com.vooda.business_admin.service;


import com.vooda.business_admin.common.ReqDataTableDto;
import com.vooda.business_admin.common.RspDataTableDto;
import com.vooda.business_admin.entity.SysUser;

public interface SysUserService {

    int deleteByPrimaryKey(Long id);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    SysUser findByUserName(String userName);

    RspDataTableDto<SysUser> findManagerList(ReqDataTableDto reqDataTableDto);

    void saveManager(SysUser sysUser);

    void resetPassword(Long id);

    Boolean checkPassword(Long id, String oldPwd);

    void updatePassword(Long id, String newPassword);

}
